wave equation using partial derivatives